﻿using System.Data;

namespace DBMock
{
    /// <summary>
    /// 验证器抽象类
    /// </summary>
    public abstract class Validator
    {
        /// <summary>
        /// 验证
        /// </summary>
        /// <param name="value">被验证值</param>
        /// <param name="row">数据行</param>
        /// <returns></returns>
        public abstract object Validate(object value, Strategy strategy, Builder[] group, DataRow row);
    }
}
